package com.wanmait.bootdemo.exception;

public class QuestionTypeNotFoundException extends RuntimeException {
    private Integer id;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public QuestionTypeNotFoundException(Integer id)
    {
        super("id为"+id+"的问题类型不存在");
        this.id = id;
    }
    public QuestionTypeNotFoundException(Integer id,String message)
    {
        super(message);
        this.id = id;
    }
}
